package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.ad.AdActivityUserData;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class AdActivityBussiness {
    public static AdActivityUserData getAdActivityUserData(int activityId, long userId) {
        return DaoHelper.getAdUserDataDaoImpl().getAdActivityUserData(activityId, userId);
    }

    public static boolean addAdActivityUserData(AdActivityUserData data) {
        return DaoHelper.getAdUserDataDaoImpl().add(data);
    }

    public static boolean updateAdActivityUserData(AdActivityUserData data) {
        return DaoHelper.getAdUserDataDaoImpl().update(data);
    }
}
